public class test1 {
    static void main() {
        Role r1 = new Role("艾伦",100);
        Role r2 = new Role("三笠",100);

    while (true) {
        r1.attack(r2);
        if (r2.getBlood()==0){
            System.out.println(r1.getName()+"击杀了"+r2.getName());
            break;
        }
        r2.attack(r1);
        if (r2.getBlood()==0){
            System.out.println(r2.getName()+"击杀了"+r1.getName());
            break;}
       }
        System.out.println("晚安艾伦");
    }
}
